package com.sansan.qiangji.service.inter.device;

import com.sansan.qiangji.entity.device.Scan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScanService {
    List<Scan> findAllScan();
    int updateScan(Scan scan);
    int updateScans(@Param("scans")List<Scan> scans);
    int addScan(Scan scan);
    List<Scan> findByScanName(@Param("scanName")String scanName);
    List<Scan> findByShelveName(@Param("shelveName")String shelveName);
    Scan findByScanId(@Param("scanId")Integer scanId);
    int deleteById(@Param("scanId")Integer scanId);
}
